package com.st.vmall.mapper;

import org.apache.ibatis.annotations.Insert;

import com.st.vmall.entity.Goods;

public interface GoodsMapper {

	/**
	 * 添加商品
	 * @param goods
	 * @return
	 */
	@Insert("insert into goods (name,price,image,tid,status) "
			+ "value(#{name},#{price},#{image},#{tid},#{status})")
	int insert(Goods goods);

}
